<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="tag" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type"
	content="text/html; charset=windows-1251">

<link rel="stylesheet"
	href="<%=request.getContextPath()%>/resources/css/coda-slider.css"
	type="text/css" />

<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/scripts/jquery.1.4.2.js"></script>

<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/javascripts/jquery.localscroll.js"
	charset="utf-8"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/javascripts/jquery.serialScroll.js"
	charset="utf-8"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/javascripts/jquery.scrollTo.js"></script>
<script type="text/javascript"
	src="<%=request.getContextPath()%>/resources/javascripts/slider.js"></script>

<title>administrator panel</title>
</head>
<body>
	<div id="slider">
		<ul class="navigation">
			<li><a href="#manager">Manager</a></li>
			<li><a href="#worker">Worker</a></li>
			<li><a href="#project">Project</a></li>
			<li><a href="#requests">Requests</a></li>
		</ul>

		<div class="scroll">
			<div class="scrollContainer">
				<div class="panel" id="manager">
					<input type="button"
						value="<tag:message code="panel.addManager" />"
						onclick="window.open('/FreeTimeTool/manager/add','managerFrame')">
					<input type="button"
						value="<tag:message code="panel.removeManager" />"
						onclick="window.open('/FreeTimeTool/manager/delete','managerFrame')">
					<input type="button" value="<tag:message code="panel.getAll" />"
						onclick="window.open('/FreeTimeTool/manager/showManagers','managerFrame')">
					<input type="button" value="<tag:message code="panel.assignWorkers" />"
						onclick="window.open('/FreeTimeTool/manager/managerPanel.html','managerFrame')">
					<br>
					<iframe name="managerFrame"
						src="/FreeTimeTool/manager/add" width=850 height=350
						frameborder=0> </iframe>
				</div>
				<div class="panel" id="worker">
					<input type="button" value="<tag:message code="panel.addWorker" />"
						onclick="window.open('/FreeTimeTool/worker/add','workerFrame')">
					<input type="button"
						value="<tag:message code="panel.removeWorker" />"
						onclick="window.open('/FreeTimeTool/worker/delete','workerFrame')">
					<input type="button" value="<tag:message code="panel.getAll" />"
						onclick="window.open('/FreeTimeTool/worker/showWorkers','workerFrame')">
					<br>
					<iframe name="workerFrame" src="/FreeTimeTool/worker/add"
						width=850 height=350 frameborder=0> </iframe>
				</div>
				<div class="panel" id="project">
					<input type="button"
						value="<tag:message code="panel.addProject" />"
						onclick="window.open('/FreeTimeTool/project/add','projectFrame')">
					<input type="button"
						value="<tag:message code="panel.removeProject" />"
						onclick="window.open('/FreeTimeTool/project/delete','projectFrame')">
					<input type="button" value="<tag:message code="panel.getAll" />"
						onclick="window.open('/FreeTimeTool/project/showAll','projectFrame')">
					<br>
					<iframe name="projectFrame"
						src="/FreeTimeTool/project/add" width=850 height=350
						frameborder=0> </iframe>
				</div>
				<div class="panel" id="requests">
					<input type="button" value="refresh"
						onclick="window.open('/FreeTimeTool/holidayrequest/showAll','requestsFrame')">
					<br>
					<iframe name="requestsFrame"
						src="/FreeTimeTool/holidayrequest/showAll" width=850
						height=350 frameborder=0> </iframe>
				</div>
			</div>
		</div>
		<div id="shade"></div>
	</div>
</body>
</html>